<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>tree</title>
    <link rel="stylesheet" href="layui/css/layui.css">
    <link rel="stylesheet" href="layui_ext/dtree/dtree.css">
    <link rel="stylesheet" href="layui_ext/dtree/font/dtreefont.css">
    <link rel="stylesheet" href="./index.css">
</head>

<body>
    <div class="tree">
        <div class="inputBox">
            <label for="">区域:</label>
            <div class='pBox'>
                <input type="text" value='中国' readonly class='treeInput'>
                <i class='dtree-icon-xiangxia1'></i>
            </div>

        </div>
        <div class="selectBox" style='display: none;'>
            <div class="dataBox">
                <ul id="demoTree" class="dtree" data-id="0" style='width:230px'></ul>
            </div>
            <div class="buttonBox">
                <button id='confirm'>确认</button>
                <button id='cancel'>取消</button>
            </div>
        </div>
    </div>

</body>
<script type="text/javascript" src="layui/layui.js"></script>
<script src="./jquery-3.3.1.js"></script>
<script src="./index.js"></script>

</html>